package com.abc.fast.server.user.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 角色权限关联表
 * </p>
 *
 * @author LiJunXi
 * @since 2024-03-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_role_perms_relation")
public class RolePermsRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色ID
     */
      @TableId("role_id")
    private Long roleId;

    /**
     * 权限ID
     */
    @TableField("perms_id")
    private Long permsId;


}
